package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员信息对象 card_member_info
 *
 * @author ruoyi
 * @date 2025-01-25
 */
public class CardMemberInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long cardId;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNo;

    /** 实体介质卡内部序列号 */
    @Excel(name = "实体介质卡内部序列号")
    private String cardSbh;

    /** 卡类型 0-射频IC卡 1-CPU智能卡 3-电子卡 */
    @Excel(name = "卡类型 0-射频IC卡 1-CPU智能卡 3-电子卡")
    private String cardType;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 积分 */
    @Excel(name = "积分")
    private BigDecimal score;

    /** 折扣率，小数范围0-1 */
    @Excel(name = "折扣率，小数范围0-1")
    private BigDecimal discountRate;

    /** 次数 */
    @Excel(name = "次数")
    private Integer times;

    /** 是否储值 */
    @Excel(name = "是否储值")
    private Integer isbalance;

    /** 是否积分 */
    @Excel(name = "是否积分")
    private Integer isscore;

    /** 是否折扣 */
    @Excel(name = "是否折扣")
    private Integer isdiscount;

    /** 是否轮次卡 */
    @Excel(name = "是否轮次卡")
    private Integer istimes;

    /** 是否权益卡 */
    @Excel(name = "是否权益卡")
    private Integer isequity;

    /** 卡唯一标识 */
    @Excel(name = "卡唯一标识")
    private String cardGuid;

    /** 会员名字 */
    @Excel(name = "会员名字")
    private String memName;

    /** 会员生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "会员生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date memBirth;

    /** 会员手机 */
    @Excel(name = "会员手机")
    private String memMobile;

    /** 会员电话 */
    @Excel(name = "会员电话")
    private String memTel;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String memIdentify;

    /** 会员地址 */
    @Excel(name = "会员地址")
    private String memAddr;

    /** 卡片状态  0-未激活 1-激活 2-挂失 3-禁用 4-回收 5-作废 */
    @Excel(name = "卡片状态  0-未激活 1-激活 2-挂失 3-禁用 4-回收 5-作废")
    private String cardState;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitDate;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inputDate;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 6位安全码 */
    @Excel(name = "6位安全码")
    private String cvv;

    /** 卡销售方案编号 */
    @Excel(name = "卡销售方案编号")
    private String schemePlan;

    /** 支付密码 */
    @Excel(name = "支付密码")
    private String pwd;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户id */
    @Excel(name = "流水号")
    private String lsh;

    /** 方案名称 */
    @Excel(name = "销售方案名称")
    private String schemeName;

    public String getSchemeName() {
        return schemeName;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public void setCardId(Long cardId)
    {
        this.cardId = cardId;
    }

    public Long getCardId()
    {
        return cardId;
    }
    public void setCardNo(String cardNo)
    {
        this.cardNo = cardNo;
    }

    public String getCardNo()
    {
        return cardNo;
    }
    public void setCardSbh(String cardSbh)
    {
        this.cardSbh = cardSbh;
    }

    public String getCardSbh()
    {
        return cardSbh;
    }
    public void setCardType(String cardType)
    {
        this.cardType = cardType;
    }

    public String getCardType()
    {
        return cardType;
    }
    public void setBalance(BigDecimal balance)
    {
        this.balance = balance;
    }

    public BigDecimal getBalance()
    {
        return balance;
    }
    public void setScore(BigDecimal score)
    {
        this.score = score;
    }

    public BigDecimal getScore()
    {
        return score;
    }
    public void setDiscountRate(BigDecimal discountRate)
    {
        this.discountRate = discountRate;
    }

    public BigDecimal getDiscountRate()
    {
        return discountRate;
    }
    public void setTimes(Integer times)
    {
        this.times = times;
    }

    public Integer getTimes()
    {
        return times;
    }
    public void setIsbalance(Integer isbalance)
    {
        this.isbalance = isbalance;
    }

    public Integer getIsbalance()
    {
        return isbalance;
    }
    public void setIsscore(Integer isscore)
    {
        this.isscore = isscore;
    }

    public Integer getIsscore()
    {
        return isscore;
    }
    public void setIsdiscount(Integer isdiscount)
    {
        this.isdiscount = isdiscount;
    }

    public Integer getIsdiscount()
    {
        return isdiscount;
    }
    public void setIstimes(Integer istimes)
    {
        this.istimes = istimes;
    }

    public Integer getIstimes()
    {
        return istimes;
    }
    public void setIsequity(Integer isequity)
    {
        this.isequity = isequity;
    }

    public Integer getIsequity()
    {
        return isequity;
    }
    public void setCardGuid(String cardGuid)
    {
        this.cardGuid = cardGuid;
    }

    public String getCardGuid()
    {
        return cardGuid;
    }
    public void setMemName(String memName)
    {
        this.memName = memName;
    }

    public String getMemName()
    {
        return memName;
    }
    public void setMemBirth(Date memBirth)
    {
        this.memBirth = memBirth;
    }

    public Date getMemBirth()
    {
        return memBirth;
    }
    public void setMemMobile(String memMobile)
    {
        this.memMobile = memMobile;
    }

    public String getMemMobile()
    {
        return memMobile;
    }
    public void setMemTel(String memTel)
    {
        this.memTel = memTel;
    }

    public String getMemTel()
    {
        return memTel;
    }
    public void setMemIdentify(String memIdentify)
    {
        this.memIdentify = memIdentify;
    }

    public String getMemIdentify()
    {
        return memIdentify;
    }
    public void setMemAddr(String memAddr)
    {
        this.memAddr = memAddr;
    }

    public String getMemAddr()
    {
        return memAddr;
    }
    public void setCardState(String cardState)
    {
        this.cardState = cardState;
    }

    public String getCardState()
    {
        return cardState;
    }
    public void setLimitDate(Date limitDate)
    {
        this.limitDate = limitDate;
    }

    public Date getLimitDate()
    {
        return limitDate;
    }
    public void setMemo(String memo)
    {
        this.memo = memo;
    }

    public String getMemo()
    {
        return memo;
    }
    public void setInputDate(Date inputDate)
    {
        this.inputDate = inputDate;
    }

    public Date getInputDate()
    {
        return inputDate;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCvv(String cvv)
    {
        this.cvv = cvv;
    }

    public String getCvv()
    {
        return cvv;
    }
    public void setSchemePlan(String schemePlan)
    {
        this.schemePlan = schemePlan;
    }

    public String getSchemePlan()
    {
        return schemePlan;
    }
    public void setPwd(String pwd)
    {
        this.pwd = pwd;
    }

    public String getPwd()
    {
        return pwd;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public String getLsh()
    {
        return lsh;
    }
    public void setLsh(String lsh)
    {
        this.lsh = lsh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("cardNo", getCardNo())
            .append("cardSbh", getCardSbh())
            .append("cardType", getCardType())
            .append("balance", getBalance())
            .append("score", getScore())
            .append("discountRate", getDiscountRate())
            .append("times", getTimes())
            .append("isbalance", getIsbalance())
            .append("isscore", getIsscore())
            .append("isdiscount", getIsdiscount())
            .append("istimes", getIstimes())
            .append("isequity", getIsequity())
            .append("cardGuid", getCardGuid())
            .append("memName", getMemName())
            .append("memBirth", getMemBirth())
            .append("memMobile", getMemMobile())
            .append("memTel", getMemTel())
            .append("memIdentify", getMemIdentify())
            .append("memAddr", getMemAddr())
            .append("cardState", getCardState())
            .append("limitDate", getLimitDate())
            .append("memo", getMemo())
            .append("inputDate", getInputDate())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("cvv", getCvv())
            .append("schemePlan", getSchemePlan())
            .append("pwd", getPwd())
            .append("userId", getUserId())
            .toString();
    }
}
